home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
oath.lha
/
oath
/
test
/
bisum.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-29
|
481b
|
20 lines
#include "oath/bigInteger.h"
#include <fstream.h>
main()
{ifstream File("biread.obj");
integerA X = integerA::isa(objA::import(File));
integerA Y = integerA::isa(objA::import(File));
cout << " X = " << X << endl;
cout << " Y = " << Y << endl;
cout << "X+=Y = " << (X+=Y) << endl;
cout << "X+=Y = " << (X+=Y) << endl;
cout << "X+=Y = " << (X+=Y) << endl;
cout << "X+=Y = " << (X+=Y) << endl;
cout << "X+=Y = " << (X+=Y) << endl;
}